﻿/**
 * ...
 * @author aboutwhat
 */

package bloom;

typedef Tuple<T> = {
    var a : T;
    var b : T;
}

class Lib 
{
    
    public static function identity <T>(v : T) return v
    public static function isTrue <T>(v : T) return true
    public static function isFalse <T>(v : T) return false
    
    
    
    public static function asList <T>(v : T) 
    {
        var l = new List();
        l.add(v);
        return l;
    }
    
    public static function asArray <T>(v : T) 
    {
        var l = new Array();
        l.push(v);
        return l;
    }
    
    
    
    
    
    
}